load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

go_library(
    name = "go_default_library",
    srcs = ["testutil.go"],
    importpath = "github.com/google/tink/go/testutil",
    visibility = ["//visibility:public"],
    deps = [
        "//go/aead:go_default_library",
        "//go/mac:go_default_library",
        "//go/signature:go_default_library",
        "//go/subtle:go_default_library",
        "//go/subtle/random:go_default_library",
        "//go/tink:go_default_library",
        "//proto:aes_gcm_go_proto",
        "//proto:common_go_proto",
        "//proto:ecdsa_go_proto",
        "//proto:hmac_go_proto",
        "//proto:tink_go_proto",
        "@com_github_golang_protobuf//proto:go_default_library",
    ],
)

go_test(
    name = "go_default_xtest",
    srcs = ["testutil_test.go"],
    deps = [
        "//go/testutil:go_default_library",
        "//go/tink:go_default_library",
    ],
)
